package com.xiaofengstu.mcams.web.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author fengzeng
 * @since 2022-05-07
 */
@Getter
@Setter
@TableName("t_user")
public class TUser implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "user_id",type = IdType.AUTO)
    private Integer userId;

    @TableField("username")
    private String username;

    @TableField("password")
    private String password;

    @TableField("dept_id")
    private Integer deptId;

    @TableField("role_id")
    private Integer roleId;

    @TableField("email")
    private String email;

    @TableField("mobile")
    private String mobile;

    @TableField("sex")
    private String sex;

    @TableField("campus_id")
    private Integer campusId;

    @TableField("salt")
    private String salt;

    /**
     * 上级领导id
     */
    @TableField("superior_uid")
    private Integer superiorUid;


}
